$.ajaxSetup ({cache: false});
var ajax_load = "<img class='loading' src='modules/reequipment/xarimages/ajax-loader.gif' alt='loading...' style='padding-left: 50px; padding-top: 50px;' />";
var update_load = "<img class='loading' src='modules/reequipment/xarimages/ajax-loader.gif' alt='loading...'  /> Creating Order...";

function CreateInvoice(){
    var loadUrl = 'index.php?module=reequipment&type=user&func=items&phase=create&pageName=module';
    $("#qai_form").hide();
    $("#qai_update").fadeIn().html(update_load).delay("500").fadeOut('slow');
    $.post(
    loadUrl,
    $("#form").serialize()
    );
    document.getElementById('form').reset()
    $("#qai_form").delay("850").fadeIn();
}
